home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2001 November / macformat-109.iso / Demos / Alice Demo / demo / pak0.pk3 / scripts / sprites.shader < prev    next >
Encoding:
Text File  |  2000-11-20  |  29.5 KB  |  1,591 lines

  1. // PGM -- little grass sprig, not too useful yet
  2. grass1
  3. {
  4.     spritegen oriented
  5.     cull twosided
  6.     {
  7.         map sprites/grass.tga
  8.         blendFunc GL_ONE GL_ONE
  9.         rgbGen identity
  10.     }
  11. }
  12.  
  13. fire6
  14. {
  15.    spritegen parallel
  16.    cull twosided
  17.    surfaceparm nolightmap
  18.       {
  19.       map textures/special/fireball1_7.tga
  20.       blendFunc GL_ONE GL_ONE
  21.       rgbGen fromEntity
  22.       alphaGen fromEntity
  23.       }
  24. }
  25.  
  26. fire6flip
  27. {
  28.    spritegen parallel
  29.    cull twosided
  30.    surfaceparm nolightmap
  31.       {
  32.       map textures/special/fireball1_7_flip.tga
  33.       blendFunc GL_ONE GL_ONE
  34.       rgbGen fromEntity
  35.       alphaGen fromEntity
  36.       }
  37. }
  38.  
  39. // JPW - dust ball projected sprites
  40. dustball
  41. {
  42.    spritegen parallel
  43.    cull twosided
  44.    surfaceparm nolightmap
  45.       {
  46.       map sprites/dirt1_1.tga
  47.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  48. //      rgbGen entity
  49.      alphaGen vertex
  50.       }
  51. }
  52.  
  53. // JPW - flare FX for jabberwock eyebeam
  54. eyebeam_flare
  55. {
  56.     spritegen parallel
  57.     cull twosided
  58.     surfaceparm nolightmap
  59.     {
  60.         map textures/sprites/flare_main.tga
  61.         blendFunc GL_SRC_ALPHA GL_ONE
  62.         alphagen vertex
  63.     }
  64. }
  65.  
  66. // JPW - turbulent spinny ice effect thing
  67. turbulentice
  68. {
  69.    spritegen parallel
  70.    cull twosided
  71.    surfaceparm nolightmap
  72.       {
  73.       map sprites/f2_iceeffect5.tga
  74.       blendFunc GL_ONE GL_ONE
  75.       rgbGen vertex
  76.       alphaGen vertex
  77.       }
  78. }
  79.  
  80.  
  81. // JPW - "spark" billboard for Alice spark emitters
  82. spark1
  83. {
  84.    spritegen parallel
  85.    cull twosided
  86.    surfaceparm nolightmap
  87.       {
  88.       map textures/decals/spark_hit.tga
  89.       //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  90.       rgbGen vertex
  91.       alphaGen vertex
  92.         blendfunc gl_one gl_one
  93.       }
  94. }
  95.  
  96. // DHM - brighter spark
  97. spark2
  98. {
  99.    spritegen parallel
  100.    cull twosided
  101.    surfaceparm nolightmap
  102.       {
  103.       map textures/decals/spark_hit.tga
  104.       blendFunc GL_ONE GL_ONE
  105.       rgbGen vertex
  106.       alphaGen vertex
  107.       }
  108. }
  109.  
  110. // JPW -- brighter blue spark
  111. bluespark
  112. {
  113.    spritegen parallel
  114.    cull twosided
  115.    surfaceparm nolightmap
  116.       {
  117.       map textures/decals/bluespark.tga
  118.       blendFunc GL_ONE GL_ONE
  119.       rgbGen vertex
  120.       alphaGen vertex
  121.       }
  122. }
  123.  
  124. // JPW - color-modulateable whitemapped smoke shader
  125. whitemapsmoke
  126. {
  127.    spritegen parallel
  128.    cull twosided
  129.    surfaceparm nolightmap
  130.       {
  131.       map sprites/whitemapsmoke.tga
  132.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  133.       rgbGen vertex
  134.       alphaGen vertex
  135.       }
  136. }
  137.  
  138. // JPW - same smoke but with RGB detail instead of whitemap
  139. detailsmoke
  140. {
  141.    spritegen parallel
  142.    cull twosided
  143.    surfaceparm nolightmap
  144.       {
  145.       map sprites/detailsmoke.tga
  146.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  147.       rgbGen vertex
  148.       alphaGen vertex
  149.       }
  150. }
  151.  
  152. // JPW - "spark" center billboard
  153. sparkcenter1
  154. {
  155.    spritegen parallel
  156.    cull twosided
  157.    surfaceparm nolightmap
  158.       {
  159.       map sprites/spark.tga
  160.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  161.       rgbGen vertex
  162.       alphaGen vertex
  163.       }
  164. }
  165.  
  166. // JPW - frozen in block of ice sprite
  167. icecubebit
  168. {
  169.    spritegen parallel
  170.    cull twosided
  171.    surfaceparm nolightmap
  172.       {
  173.       map sprites/f2_icebit.tga
  174.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  175.       rgbGen vertex
  176.       alphaGen vertex
  177.       }
  178. }
  179.  
  180. // PGM -- ice wand attack effect sprite
  181. icebit
  182. {
  183.    spritegen parallel
  184.    cull twosided
  185.    surfaceparm nolightmap
  186.       {
  187.       map sprites/f2_iceeffect.tga
  188.       blendFunc GL_ONE GL_ONE
  189.       rgbGen vertex
  190.       alphaGen vertex
  191.       }
  192. }
  193.  
  194. icepuff
  195. {
  196.    spritegen parallel
  197.    cull twosided
  198.    surfaceparm nolightmap
  199.       {
  200.       map sprites/f2_icepuff.tga
  201.       blendFunc GL_ONE GL_ONE
  202.       rgbGen vertex
  203.       alphaGen vertex
  204.       }
  205. }
  206.  
  207. // PGM - playing cards thrown out in card attack
  208. playingcard
  209. {
  210.    spritegen parallel_oriented
  211.    cull twosided
  212.    surfaceparm nolightmap
  213.       {
  214.       map sprites/cardface.tga
  215.       rgbGen identity
  216.       }
  217. }
  218.  
  219. ash1
  220. {
  221.    spritegen parallel_oriented
  222.    cull twosided
  223.    surfaceparm nolightmap
  224.       {
  225.       map sprites/asheffect01.tga
  226.       blendFunc GL_ONE GL_ONE
  227.       rgbGen fromEntity
  228.       alphaGen fromEntity
  229.       }
  230. }
  231.  
  232. ash2
  233. {
  234.    spritegen parallel_oriented
  235.    cull twosided
  236.    surfaceparm nolightmap
  237.       {
  238.       map sprites/asheffect02.tga
  239.       blendFunc GL_ONE GL_ONE
  240.       rgbGen fromEntity
  241.       alphaGen fromEntity
  242.       }
  243. }
  244.  
  245. fire7
  246. {
  247.    spritegen parallel
  248.    cull twosided
  249.    surfaceparm nolightmap
  250.     {
  251.      map textures/special/fireball1_7.tga
  252.      blendFunc GL_ONE GL_ONE
  253.      rgbGen vertex
  254.      alphaGen vertex
  255.     }
  256. }
  257.  
  258. fire8
  259. {
  260.    spritegen parallel
  261.    cull twosided
  262.    surfaceparm nolightmap
  263.       {
  264.        map textures/special/fireball1_7.tga
  265.        blendFunc GL_ONE GL_ONE
  266.        rgbGen fromEntity
  267.        alphaGen fromEntity
  268.       }
  269. }
  270.  
  271. fire9
  272. {
  273.    spritegen parallel
  274.    cull twosided
  275.    surfaceparm nolightmap
  276.       {
  277.       map textures/special/fireball1_7.tga
  278.       blendFunc GL_ONE GL_ONE
  279. //      rgbGen fromEntity
  280. //      alphaGen fromEntity
  281.       rgbGen vertex
  282.       alphaGen vertex
  283.       }
  284. }
  285.  
  286. firesmoke
  287. {
  288.    spritegen parallel
  289.    cull twosided
  290.    surfaceparm nolightmap
  291.       {
  292.       map sprites/f2_smokepart3.tga
  293.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  294. //      rgbGen fromEntity
  295. //      alphaGen fromEntity
  296.       rgbGen vertex
  297.       alphaGen vertex
  298.       }
  299. }
  300.  
  301. // PGM - ice "smoke" effect
  302. icesmoke
  303. {
  304.    spritegen parallel
  305.    cull twosided
  306.    surfaceparm nolightmap
  307.       {
  308.       map sprites/icepuff.tga
  309.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  310.       rgbGen vertex
  311.       alphaGen vertex
  312.       }
  313. }
  314.  
  315. sparkparticle
  316. {
  317.    spritegen parallel
  318.    cull twosided
  319.    surfaceparm nolightmap
  320.       {
  321.       map sprites/f2_yellowspark.tga
  322.       blendFunc GL_ONE GL_ONE
  323.       rgbGen fromEntity
  324.       }
  325. }
  326.  
  327. // DHM - testing Ritual waterfall effects
  328. fall
  329. {
  330.    spritegen parallel_oriented
  331.    cull twosided
  332.    surfaceparm nolightmap
  333.       {
  334.       map sprites/fall.tga
  335.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  336.       alphaGen vertex
  337.     rgbGen vertex
  338.       }
  339. }
  340.  
  341. watersplash
  342. {
  343.    spritegen parallel_oriented
  344.    cull twosided
  345.    surfaceparm nolightmap
  346.       {
  347.       map sprites/watersplash.tga
  348.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  349.       alphaGen vertex
  350.     rgbGen vertex
  351.       }
  352. }
  353.  
  354. blood1
  355. {
  356.    spritegen parallel_oriented
  357.    cull twosided
  358.    surfaceparm nolightmap
  359.       {
  360.       map sprites/blood.tga
  361.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  362.       alphaGen vertex
  363.     rgbGen vertex
  364.       }
  365. }
  366.  
  367. blood2
  368. {
  369.    spritegen parallel_oriented
  370.    cull twosided
  371.    surfaceparm nolightmap
  372.       {
  373.       map sprites/blood2.tga
  374.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  375.       alphaGen vertex
  376.     rgbGen vertex
  377.       }
  378. }
  379.  
  380. blood3
  381. {
  382.    spritegen parallel_oriented
  383.    cull twosided
  384.    surfaceparm nolightmap
  385.       {
  386.       //map sprites/blood3.tga
  387.     map sprites/blood_drip.tga
  388.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  389.       alphaGen vertex
  390.     rgbGen vertex
  391.       }
  392. }
  393.  
  394. blood4
  395. {
  396.    spritegen parallel_oriented
  397.    cull twosided
  398.    surfaceparm nolightmap
  399.       {
  400.       map sprites/blood4.tga
  401.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  402.       alphaGen vertex
  403.     rgbGen vertex
  404.       }
  405. }
  406.  
  407. bloodsplat
  408. {
  409.    spritegen oriented
  410.    cull twosided
  411.    surfaceparm nolightmap
  412.       {
  413.       map textures/decals/blood_splat.tga
  414.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  415.     rgbGen vertex
  416.       }
  417. }
  418.  
  419.  
  420. //////////////////////////////////////////////////
  421. // DHM -- New blood
  422. //////////////////////////////////////////////////
  423.  
  424. blood_drip
  425. {
  426.    spritegen parallel_oriented
  427.    cull twosided
  428.    surfaceparm nolightmap
  429.       {
  430.       map sprites/blood_drip.tga
  431.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  432.       alphaGen vertex
  433.     rgbGen vertex
  434.       }
  435. }
  436.  
  437. blood_drip2
  438. {
  439.    spritegen parallel_oriented
  440.    cull twosided
  441.    surfaceparm nolightmap
  442.       {
  443.       map sprites/blood_drip2.tga
  444.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  445.       alphaGen vertex
  446.     rgbGen vertex
  447.       }
  448. }
  449.  
  450. blood_spray
  451. {
  452.    spritegen parallel_oriented
  453.    cull twosided
  454.    surfaceparm nolightmap
  455.       {
  456.       map sprites/blood_spray.tga
  457.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  458.       alphaGen vertex
  459.     rgbGen vertex
  460.       }
  461. }
  462.  
  463. blood_spray2
  464. {
  465.    spritegen parallel_oriented
  466.    cull twosided
  467.    surfaceparm nolightmap
  468.       {
  469.       map sprites/blood_spray2.tga
  470.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  471.       alphaGen vertex
  472.     rgbGen vertex
  473.       }
  474. }
  475.  
  476. bspray2
  477. {
  478.    spritegen parallel_oriented
  479.    cull twosided
  480.    surfaceparm nolightmap
  481.       {
  482.       map sprites/blood_spray2.tga
  483.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  484.       alphaGen vertex
  485.     rgbGen vertex
  486.       }
  487. }
  488.  
  489. green_blood_drip
  490. {
  491.    spritegen parallel_oriented
  492.    cull twosided
  493.    surfaceparm nolightmap
  494.       {
  495.       map sprites/grn_blood_drip.tga
  496.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  497.       alphaGen vertex
  498.     rgbGen vertex
  499.       }
  500. }
  501.  
  502. green_blood_drip2
  503. {
  504.    spritegen parallel_oriented
  505.    cull twosided
  506.    surfaceparm nolightmap
  507.       {
  508.       map sprites/grn_blood_drip2.tga
  509.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  510.       alphaGen vertex
  511.     rgbGen vertex
  512.       }
  513. }
  514.  
  515. green_blood_spray
  516. {
  517.    spritegen parallel_oriented
  518.    cull twosided
  519.    surfaceparm nolightmap
  520.       {
  521.       map sprites/grn_blood_spray.tga
  522.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  523.       alphaGen vertex
  524.     rgbGen vertex
  525.       }
  526. }
  527.  
  528. green_blood_spray2
  529. {
  530.    spritegen parallel_oriented
  531.    cull twosided
  532.    surfaceparm nolightmap
  533.       {
  534.       map sprites/grn_blood_spray2.tga
  535.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  536.       alphaGen vertex
  537.     rgbGen vertex
  538.       }
  539. }
  540.  
  541. // ==================================================
  542. // DHM - temporary fix for the Croquet Mallet weapon
  543. // ==================================================
  544. croquet
  545. {
  546.    spritegen parallel_oriented
  547.    cull twosided
  548.    surfaceparm nolightmap
  549.    {
  550.       map sprites/croquet.tga
  551.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  552.       alphaGen vertex
  553.    }
  554. }
  555.  
  556. // JUMP TARGET
  557. targeted
  558. {
  559.    spritegen parallel_oriented
  560.    cull twosided
  561.    surfaceparm nolightmap
  562.       {
  563.         map sprites/jump_base1_1.tga
  564.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  565.         alphaGen wave sin .5 0.5 0 0.5
  566.     alphagen vertex
  567.       }
  568.       //{
  569.     //map sprites/jump_base1_1.tga
  570.     //blendfunc add
  571.     //rgbGen wave sin .5 0.5 0 0.5
  572.          // alphaGen vertex
  573.      //}
  574. }
  575.  
  576. pepper
  577. {
  578.    spritegen parallel_oriented
  579.    cull twosided
  580.    surfaceparm nolightmap
  581.       {
  582.       map sprites/pepper.tga
  583.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  584.       alphaGen vertex
  585.     rgbGen vertex
  586.       }
  587. }
  588.  
  589. // JAY METAESSENCE
  590. meta
  591. {
  592.     spritegen parallel_oriented
  593.     cull twosided
  594.     surfaceparm nolightmap
  595.     surfaceparm trans
  596.       {
  597.     map sprites/meta.tga    
  598.     blendFunc GL_ONE GL_ONE
  599.          //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  600.     alphaGen vertex
  601.     rgbGen vertex
  602.       }
  603. }
  604.  
  605. // JPW -- different metaessence, desaturated texture for rgbgen stuffs
  606. metared
  607. {
  608.     spritegen parallel_oriented
  609.     cull twosided
  610.     surfaceparm nolightmap
  611.     surfaceparm trans
  612.       {
  613.     map sprites/metared.tga    
  614.     blendFunc GL_ONE GL_ONE
  615.     alphaGen vertex
  616.     rgbGen vertex
  617.       }
  618. }
  619.  
  620. // JPW -- different metaessence, desaturated texture for rgbgen stuffs
  621. metadesat
  622. {
  623.     spritegen parallel_oriented
  624.     cull twosided
  625.     surfaceparm nolightmap
  626.     surfaceparm trans
  627.       {
  628.     map sprites/metadesat.tga    
  629.     blendFunc GL_ONE GL_ONE
  630.     alphaGen vertex
  631.     rgbGen vertex
  632.       }
  633. }
  634.  
  635.  
  636. // DHM - enemy impact ring - metaessence
  637. meta_ring
  638. {
  639.     spritegen parallel_oriented
  640.     cull twosided
  641.     surfaceparm nolightmap
  642.     surfaceparm trans
  643.       {
  644.     map sprites/meta_ring.tga
  645.     blendFunc GL_ONE GL_ONE
  646.     alphaGen vertex
  647.     rgbGen vertex
  648.       }
  649. }
  650.  
  651. // Diamond Guard ZAPPO!!!!
  652. zappo
  653. {
  654.     spritegen parallel_oriented
  655.     cull twosided
  656.     surfaceparm nolightmap
  657.     surfaceparm trans
  658.     {
  659.         map sprites/zappo.tga
  660.         //blendfunc gl_one gl_one
  661.              blendFunc GL_ONE_MINUS_SRC_ALPHA GL_ONE
  662.         alphaGen vertex
  663.         rgbGen vertex
  664.     }
  665. }
  666.  
  667. // DHM - Ragebox Gas
  668. ragegas
  669. {
  670.     spritegen parallel_oriented
  671.     cull twosided
  672.     surfaceparm nolightmap
  673.     surfaceparm trans
  674.     {
  675.         map sprites/ragegas.tga
  676.         blendfunc GL_ONE GL_ONE
  677.         alphaGen vertex
  678.         rgbGen vertex
  679.     }
  680. }
  681.  
  682. // JPW -- real ragegas, other ragegas used for grasshopper tea
  683. redgas
  684. {
  685.     spritegen parallel_oriented
  686.     cull twosided
  687.     surfaceparm nolightmap
  688.     surfaceparm trans
  689.     {
  690.         map sprites/redgas.tga
  691.         blendfunc GL_ONE GL_ONE
  692.         alphaGen vertex
  693.         rgbGen vertex
  694.     }
  695. }
  696.  
  697. // PGM - lightning source point lens flare
  698. lightning_flare
  699. {
  700.    spritegen parallel
  701.    cull twosided
  702.    surfaceparm nolightmap
  703.       {
  704.       map sprites/flare_blu03.tga
  705.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  706.       rgbGen vertex
  707.       }
  708. }
  709.  
  710. // PGM - acid drip
  711. acid_drip
  712. {
  713.     spritegen parallel
  714.     cull twosided
  715.     surfaceparm nolightmap
  716.     {
  717.         clampmap sprites/acid_drip.tga
  718.         blendFunc blend
  719.         rgbGen vertex
  720.     }
  721. }
  722.  
  723. // DHM - Nightmare Spider Poison Spray
  724. poison_spray
  725. {
  726.     spritegen parallel
  727.     cull twosided
  728.     surfaceparm nolightmap
  729.     {
  730.         clampmap sprites/acid_drip.tga
  731.         blendFunc add
  732.         rgbGen vertex
  733.     }
  734. }
  735.  
  736. textures/chess/railing1_2
  737. {
  738.     qer_editorimage textures/chess/railing1_2.tga
  739.     surfaceparm alphashadow
  740.     surfaceparm trans
  741.     cull disable
  742.     {
  743.         map textures/chess/railing1_2.tga
  744.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  745.         alphaFunc GE128
  746.         depthWrite
  747.         rgbGen identity
  748.     }
  749.     {
  750.         map $lightmap
  751.         //blendFunc GL_ONE_MINUS_SRC_ALPHA GL_ONE
  752.         rgbGen identity
  753.         blendFunc GL_DST_COLOR GL_ZERO
  754.         depthFunc equal
  755.     }
  756. }
  757. textures/jlair/railing1_2
  758. {
  759.     qer_editorimage textures/jlair/railing1_2.tga
  760.     surfaceparm alphashadow
  761.     surfaceparm trans
  762.     cull disable
  763.     {
  764.         map textures/jlair/railing1_2.tga
  765.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  766.         alphaFunc GE128
  767.         depthWrite
  768.         rgbGen identity
  769.     }
  770.     {
  771.         map $lightmap
  772.         //blendFunc GL_ONE_MINUS_SRC_ALPHA GL_ONE
  773.         rgbGen identity
  774.         blendFunc GL_DST_COLOR GL_ZERO
  775.         depthFunc equal
  776.     }
  777. }
  778. textures/jlair/railing1_3
  779. {
  780.     qer_editorimage textures/jlair/railing1_3.tga
  781.     surfaceparm alphashadow
  782.     surfaceparm trans
  783.     cull disable
  784.     {
  785.         map textures/jlair/railing1_3.tga
  786.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  787.         alphaFunc GE128
  788.         depthWrite
  789.         rgbGen identity
  790.     }
  791.     {
  792.         map $lightmap
  793.         //blendFunc GL_ONE_MINUS_SRC_ALPHA GL_ONE
  794.         rgbGen identity
  795.         blendFunc GL_DST_COLOR GL_ZERO
  796.         depthFunc equal
  797.     }
  798. }
  799. //red chess railing
  800. textures/chess_red/railing1_2
  801. {
  802.     qer_editorimage textures/chess_red/railing1_2.tga
  803.     surfaceparm alphashadow
  804.     surfaceparm trans
  805.     cull disable
  806.     {
  807.         map textures/chess_red/railing1_2.tga
  808.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  809.         alphaFunc GE128
  810.         depthWrite
  811.         rgbGen identity
  812.     }
  813.     {
  814.         map $lightmap
  815.         //blendFunc GL_ONE_MINUS_SRC_ALPHA GL_ONE
  816.         rgbGen identity
  817.         blendFunc GL_DST_COLOR GL_ZERO
  818.         depthFunc equal
  819.     }
  820. }
  821. // water oriented ripple
  822. ripple
  823. {
  824.    cull none
  825.    spriteGen oriented
  826.    {
  827.       map textures/sprites/ripple.tga
  828.       blendFunc GL_ONE GL_ONE
  829. //    alphaGen vertex
  830.       rgbGen vertex
  831.    }
  832. }
  833.  
  834. ripple_moving
  835. {
  836.    cull none
  837.    spriteGen oriented
  838.    {
  839.       map textures/sprites/ripple.tga
  840.       blendFunc GL_ONE GL_ONE
  841. //    alphaGen vertex
  842.       rgbGen vertex
  843.    }
  844. }
  845.  
  846. ripple_still
  847. {
  848.    cull none
  849.    spriteGen oriented
  850.    {
  851.       map textures/sprites/ripple1_2.tga
  852.       blendFunc GL_ONE GL_ONE
  853. //    alphaGen vertex
  854.       rgbGen vertex
  855.    }
  856. }
  857.  
  858. // JPW -- greenhaw's updated fire shaders
  859. animfire
  860. {
  861.    spritegen parallel
  862.    cull twosided
  863.    surfaceparm nolightmap
  864.       {
  865.       animMap 1.2 textures/special/fireball1_1.tga textures/special/fireball1_2.tga textures/special/fireball1_3.tga textures/special/fireball1_4.tga textures/special/fireball1_5.tga textures/special/fireball1_6.tga textures/special/fireball1_7.tga textures/special/fireball1_8.tga
  866.       blendFunc GL_ONE GL_ONE
  867.       rgbGen vertex
  868.       alphaGen vertex
  869.       }
  870. }
  871. rfire1
  872. {
  873.    spritegen parallel
  874.    cull twosided
  875.    surfaceparm nolightmap
  876.       {
  877.       map textures/special/fireball1_1.tga
  878.       blendFunc GL_ONE GL_ONE
  879.       rgbGen vertex
  880.       alphaGen vertex
  881.       }
  882. }
  883. rfire2
  884. {
  885.    spritegen parallel
  886.    cull twosided
  887.    surfaceparm nolightmap
  888.       {
  889.       map textures/special/fireball1_2.tga
  890.       blendFunc GL_ONE GL_ONE
  891.       rgbGen vertex
  892.       alphaGen vertex
  893.       }
  894. }
  895. rfire3
  896. {
  897.    spritegen parallel
  898.    cull twosided
  899.    surfaceparm nolightmap
  900.       {
  901.       map textures/special/fireball1_3.tga
  902.       blendFunc GL_ONE GL_ONE
  903.       rgbGen vertex
  904.       alphaGen vertex
  905.       }
  906. }
  907. rfire4
  908. {
  909.    spritegen parallel
  910.    cull twosided
  911.    surfaceparm nolightmap
  912.       {
  913.       map textures/special/fireball1_4.tga
  914.       blendFunc GL_ONE GL_ONE
  915.       rgbGen vertex
  916.       alphaGen vertex
  917.       }
  918. }
  919. rfire5
  920. {
  921.    spritegen parallel
  922.    cull twosided
  923.    surfaceparm nolightmap
  924.       {
  925.       map textures/special/fireball1_5.tga
  926.       blendFunc GL_ONE GL_ONE
  927.       rgbGen vertex
  928.       alphaGen vertex
  929.       }
  930. }
  931. rfire6
  932. {
  933.    spritegen parallel
  934.    cull twosided
  935.    surfaceparm nolightmap
  936.       {
  937.       map textures/special/fireball1_6.tga
  938.       blendFunc GL_ONE GL_ONE
  939.       rgbGen vertex
  940.       alphaGen vertex
  941.       }
  942. }
  943. rfire7
  944. {
  945.    spritegen parallel
  946.    cull twosided
  947.    surfaceparm nolightmap
  948.       {
  949.       map textures/special/fireball1_7.tga
  950.       blendFunc GL_ONE GL_ONE
  951.       rgbGen vertex
  952.       alphaGen vertex
  953.       }
  954. }
  955. rfire8
  956. {
  957.    spritegen parallel
  958.    cull twosided
  959.    surfaceparm nolightmap
  960.       {
  961.       map textures/special/fireball1_8.tga
  962.       blendFunc GL_ONE GL_ONE
  963.       rgbGen vertex
  964.       alphaGen vertex
  965.       }
  966. }
  967.  
  968. animrsmoke
  969. {
  970.    spritegen parallel
  971.    cull twosided
  972.    surfaceparm nolightmap
  973.       {
  974.       animMap 1.2 textures/special/rsmoke_01.tga textures/special/rsmoke_02.tga textures/special/rsmoke_03.tga textures/special/rsmoke_04.tga textures/special/rsmoke_05.tga textures/special/rsmoke_06.tga textures/special/rsmoke_07.tga textures/special/rsmoke_08.tga
  975.       blendFunc GL_ONE GL_ONE
  976.       rgbGen vertex
  977.       alphaGen vertex
  978.       }
  979. }
  980. rsmoke1
  981. {
  982.    spritegen parallel
  983.    cull twosided
  984.    surfaceparm nolightmap
  985.       {
  986.       map textures/special/rsmoke_01.tga
  987.       blendFunc GL_ONE GL_ONE
  988.       rgbGen vertex
  989.       alphaGen vertex
  990.       }
  991. }
  992. rsmoke2
  993. {
  994.    spritegen parallel
  995.    cull twosided
  996.    surfaceparm nolightmap
  997.       {
  998.       map textures/special/rsmoke_02.tga
  999.       blendFunc GL_ONE GL_ONE
  1000.       rgbGen vertex
  1001.       alphaGen vertex
  1002.       }
  1003. }
  1004. rsmoke3
  1005. {
  1006.    spritegen parallel
  1007.    cull twosided
  1008.    surfaceparm nolightmap
  1009.       {
  1010.       map textures/special/rsmoke_03.tga
  1011.       blendFunc GL_ONE GL_ONE
  1012.       rgbGen vertex
  1013.       alphaGen vertex
  1014.       }
  1015. }
  1016. rsmoke4
  1017. {
  1018.    spritegen parallel
  1019.    cull twosided
  1020.    surfaceparm nolightmap
  1021.       {
  1022.       map textures/special/rsmoke_04.tga
  1023.       blendFunc GL_ONE GL_ONE
  1024.       rgbGen vertex
  1025.       alphaGen vertex
  1026.       }
  1027. }
  1028. rsmoke5
  1029. {
  1030.    spritegen parallel
  1031.    cull twosided
  1032.    surfaceparm nolightmap
  1033.       {
  1034.       map textures/special/rsmoke_05.tga
  1035.       blendFunc GL_ONE GL_ONE
  1036.       rgbGen vertex
  1037.       alphaGen vertex
  1038.       }
  1039. }
  1040. rsmoke6
  1041. {
  1042.    spritegen parallel
  1043.    cull twosided
  1044.    surfaceparm nolightmap
  1045.       {
  1046.       map textures/special/rsmoke_06.tga
  1047.       blendFunc GL_ONE GL_ONE
  1048.       rgbGen vertex
  1049.       alphaGen vertex
  1050.       }
  1051. }
  1052. rsmoke7
  1053. {
  1054.    spritegen parallel
  1055.    cull twosided
  1056.    surfaceparm nolightmap
  1057.       {
  1058.       map textures/special/rsmoke_07.tga
  1059.       blendFunc GL_ONE GL_ONE
  1060.       rgbGen vertex
  1061.       alphaGen vertex
  1062.       }
  1063. }
  1064. rsmoke8
  1065. {
  1066.    spritegen parallel
  1067.    cull twosided
  1068.    surfaceparm nolightmap
  1069.       {
  1070.       map textures/special/rsmoke_08.tga
  1071.       blendFunc GL_ONE GL_ONE
  1072.       rgbGen vertex
  1073.       alphaGen vertex
  1074.       }
  1075. }
  1076.  
  1077. bubble
  1078. {
  1079.    spritegen parallel
  1080.    cull twosided
  1081.    surfaceparm nolightmap
  1082.     {
  1083.     map textures/special/bubble01_1sh.tga
  1084.     blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1085.     rgbGen vertex
  1086.     alphaGen vertex
  1087.     }
  1088. }
  1089.  
  1090. animgsmoke
  1091. {
  1092.    spritegen parallel
  1093.    cull twosided
  1094.    surfaceparm nolightmap
  1095.       {
  1096.       animMap 1.2 textures/special/grysmoke_01.tga textures/special/grysmoke_02.tga textures/special/grysmoke_03.tga textures/special/grysmoke_04.tga textures/special/grysmoke_05.tga textures/special/grysmoke_06.tga textures/special/grysmoke_07.tga textures/special/grysmoke_08.tga
  1097.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1098.       rgbGen vertex
  1099.       alphaGen vertex
  1100.       }
  1101. }
  1102. gsmoke1
  1103. {
  1104.    spritegen parallel
  1105.    cull twosided
  1106.    surfaceparm nolightmap
  1107.       {
  1108.       map textures/special/grysmoke_01.tga
  1109.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1110.       rgbGen vertex
  1111.       alphaGen vertex
  1112.       }
  1113. }
  1114. gsmoke2
  1115. {
  1116.    spritegen parallel
  1117.    cull twosided
  1118.    surfaceparm nolightmap
  1119.       {
  1120.       map textures/special/grysmoke_02.tga
  1121.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1122.       rgbGen vertex
  1123.       alphaGen vertex
  1124.       }
  1125. }
  1126. gsmoke3
  1127. {
  1128.    spritegen parallel
  1129.    cull twosided
  1130.    surfaceparm nolightmap
  1131.       {
  1132.       map textures/special/grysmoke_03.tga
  1133.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1134.       rgbGen vertex
  1135.       alphaGen vertex
  1136.       }
  1137. }
  1138. gsmoke4
  1139. {
  1140.    spritegen parallel
  1141.    cull twosided
  1142.    surfaceparm nolightmap
  1143.       {
  1144.       map textures/special/grysmoke_04.tga
  1145.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1146.       rgbGen vertex
  1147.       alphaGen vertex
  1148.       }
  1149. }
  1150. gsmoke5
  1151. {
  1152.    spritegen parallel
  1153.    cull twosided
  1154.    surfaceparm nolightmap
  1155.       {
  1156.       map textures/special/grysmoke_05.tga
  1157.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1158.       rgbGen vertex
  1159.       alphaGen vertex
  1160.       }
  1161. }
  1162. gsmoke6
  1163. {
  1164.    spritegen parallel
  1165.    cull twosided
  1166.    surfaceparm nolightmap
  1167.       {
  1168.       map textures/special/grysmoke_06.tga
  1169.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1170.       rgbGen vertex
  1171.       alphaGen vertex
  1172.       }
  1173. }
  1174. gsmoke7
  1175. {
  1176.    spritegen parallel
  1177.    cull twosided
  1178.    surfaceparm nolightmap
  1179.       {
  1180.       map textures/special/grysmoke_07.tga
  1181.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1182.       rgbGen vertex
  1183.       alphaGen vertex
  1184.       }
  1185. }
  1186. gsmoke8
  1187. {
  1188.    spritegen parallel
  1189.    cull twosided
  1190.    surfaceparm nolightmap
  1191.       {
  1192.       map textures/special/grysmoke_08.tga
  1193.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1194.       rgbGen vertex
  1195.       alphaGen vertex
  1196.       }
  1197. }
  1198. animsplode
  1199. {
  1200.    spritegen parallel
  1201.    cull twosided
  1202.    surfaceparm nolightmap
  1203.       {
  1204.       animMap 16 textures/special/j_explode2_1.tga textures/special/j_explode2_2.tga textures/special/j_explode2_3.tga textures/special/j_explode2_4.tga textures/special/j_explode2_5.tga textures/special/j_explode2_6.tga textures/special/j_explode2_7.tga textures/special/j_explode2_8.tga
  1205. //      map textures/special/j_explode2_1.tga
  1206.       blendFunc GL_ONE GL_ONE
  1207.       rgbGen vertex
  1208.       alphaGen vertex
  1209.       }
  1210. }
  1211.  
  1212.  
  1213. mushroom_steam
  1214. {
  1215.    spritegen oriented
  1216.    cull twosided
  1217.    surfaceparm nolightmap
  1218.       {
  1219.       map textures/sprites/steam.tga
  1220.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1221.       rgbGen const 1 1 1
  1222.       alphaGen vertex
  1223.       }
  1224. }
  1225.  
  1226.  
  1227. steam
  1228. {
  1229.    spritegen parallel
  1230.    cull twosided
  1231.    surfaceparm nolightmap
  1232.       {
  1233.       map textures/sprites/steam.tga
  1234.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1235.       rgbGen const 1 1 1
  1236.       alphaGen vertex
  1237.       }
  1238. }
  1239.  
  1240. hattersteam
  1241. {
  1242.    spritegen parallel
  1243.    cull twosided
  1244.    surfaceparm nolightmap
  1245.       {
  1246.       map textures/sprites/hattersteam.tga
  1247.       blendFunc GL_SRC_ALPHA GL_ONE
  1248.       rgbGen vertex
  1249.       alphaGen vertex
  1250.       }
  1251. }
  1252. // jpw
  1253.  
  1254. steamhot
  1255. {
  1256.    spritegen parallel
  1257.    cull twosided
  1258.    surfaceparm nolightmap
  1259.       {
  1260.       map textures/sprites/steamhot.tga
  1261.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1262.       rgbGen const 1 1 1
  1263.       alphaGen vertex
  1264.       }
  1265. }
  1266.  
  1267.  
  1268. //seafan for underwater temple alpha
  1269. textures/sprites/seafan06sh
  1270. {
  1271.     qer_editorimage textures/sprites/seafan06sh.tga
  1272.     //surfaceparm nolightmap
  1273.     surfaceparm trans
  1274.     {
  1275.         map textures/sprites/seafan06sh.tga
  1276.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1277.         alphafunc gt0
  1278.     }
  1279.     {    
  1280.         map $lightmap
  1281.         blendfunc filter
  1282.         depthfunc equal
  1283.         rgbGen identity
  1284.     }
  1285. }
  1286.  
  1287. // lens flare for slutface
  1288. flare_main
  1289. {
  1290.    spritegen parallel
  1291.    cull twosided
  1292.    surfaceparm nolightmap
  1293.    qer_editorimage textures/sprites/flare_main.tga    
  1294.       {
  1295.       map textures/sprites/flare_main.tga
  1296.       blendFunc gl_one gl_one
  1297.       rgbGen vertex
  1298.       }
  1299. }
  1300. spore
  1301. {
  1302.    spritegen parallel_oriented
  1303.    cull twosided
  1304.    surfaceparm nolightmap
  1305.       {
  1306.       map sprites/spore.tga
  1307.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1308.       alphaGen vertex
  1309.     rgbGen vertex
  1310.       }
  1311. }
  1312. spore-yellow
  1313. {
  1314.    spritegen parallel_oriented
  1315.    cull twosided
  1316.    surfaceparm nolightmap
  1317.       {
  1318.       map sprites/spore-yellow.tga
  1319.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1320.       alphaGen vertex
  1321.     rgbGen vertex
  1322.       }
  1323. }
  1324.  
  1325. supra-green // JPW
  1326. {
  1327.     spritegen parallel
  1328.     cull twosided
  1329.     surfaceparm nolightmap
  1330.     {
  1331.     map sprites/flare-green.tga
  1332.     blendfunc gl_one gl_one    
  1333.     //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1334. //    tcmod rotate 200
  1335.     alphagen vertex
  1336.     rgbGen vertex    
  1337.     }
  1338. }
  1339.  
  1340. supra-green-roll // JPW
  1341. {
  1342.     spritegen parallel
  1343.     cull twosided
  1344.     surfaceparm nolightmap
  1345.     {
  1346.     map sprites/flare-green.tga
  1347.     blendfunc gl_one gl_one    
  1348.     //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1349.     tcmod rotate 200
  1350.     alphagen vertex
  1351.     rgbGen vertex    
  1352.     }
  1353. }
  1354.  
  1355. shockwave-desat
  1356. {
  1357.     spritegen parallel
  1358.     cull twosided
  1359.     surfaceparm nolightmap
  1360.     {
  1361.     map textures/sprites/shokwave.tga
  1362.     blendfunc gl_src_alpha gl_one_minus_src_alpha
  1363.     alphagen vertex
  1364.     rgbgen vertex
  1365.     }
  1366. }
  1367.  
  1368. supra
  1369. {
  1370.     spritegen parallel
  1371.     cull twosided
  1372.     surfaceparm nolightmap
  1373.     {
  1374.     map models/fx/sprite/supra.tga
  1375.     blendfunc gl_one gl_one    
  1376.     //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1377. //    tcmod rotate 200
  1378.     alphagen vertex
  1379.     rgbGen vertex    
  1380.     }
  1381. }
  1382.  
  1383. bam
  1384. {
  1385.     //deformvertexes autosprite
  1386.     spritegen parallel
  1387.       cull twosided
  1388.       surfaceparm nolightmap
  1389.     {
  1390.     map models/fx/sprite/bam.tga
  1391.     blendfunc gl_one gl_one    
  1392.     //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1393. //    tcmod rotate 200
  1394.     alphagen vertex
  1395.     rgbGen vertex    
  1396.     }
  1397. }
  1398.  
  1399. fthrow
  1400. {
  1401.     //deformvertexes autosprite
  1402.     spritegen parallel
  1403.       cull twosided
  1404.       surfaceparm nolightmap
  1405.     {
  1406.     map models/fx/sprite/bam.tga
  1407.     blendfunc gl_one gl_one    
  1408.     //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1409. //    tcmod rotate 200
  1410.     alphagen vertex
  1411.     rgbGen vertex    
  1412.     }
  1413. }
  1414.  
  1415. supra_p
  1416. {
  1417.     spritegen parallel
  1418.     cull twosided
  1419.     surfaceparm nolightmap
  1420.     {
  1421.     map models/fx/sprite/supra_p.tga
  1422.     blendfunc gl_one gl_one    
  1423.     //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1424. //    tcmod rotate 200
  1425.     alphagen vertex
  1426.     rgbGen vertex    
  1427.     }
  1428. }
  1429.  
  1430. b_yellow
  1431. {
  1432.     spritegen parallel
  1433.     cull twosided
  1434.     surfaceparm nolightmap
  1435.     {
  1436.     map models/fx/sprite/bam_yellow.tga
  1437.     blendfunc gl_one gl_one    
  1438.     //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1439. //    tcmod rotate 200
  1440.     alphagen vertex
  1441.     rgbGen vertex    
  1442.     }
  1443. }
  1444.  
  1445. bam_t
  1446. {
  1447.     //deformvertexes autosprite
  1448.     spritegen parallel
  1449.       cull twosided
  1450.       surfaceparm nolightmap
  1451.     {
  1452.     map models/fx/sprite/bam_t.tga
  1453.     blendfunc gl_one gl_one    
  1454.     //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1455. //    tcmod rotate 200
  1456.     alphagen vertex
  1457.     rgbGen vertex    
  1458.     }
  1459. }
  1460.  
  1461. oil
  1462. {
  1463.     //deformvertexes autosprite
  1464.     spritegen parallel
  1465.       cull twosided
  1466.       surfaceparm nolightmap
  1467.     {
  1468.     map textures/decals/oil.tga
  1469.     
  1470.     blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1471. //    tcmod rotate 200
  1472.     //alphagen vertex
  1473.     rgbGen vertex    
  1474.     }
  1475. }
  1476.  
  1477. gas
  1478. {
  1479.     //deformvertexes autosprite
  1480.     spritegen parallel
  1481.       cull twosided
  1482.       surfaceparm nolightmap
  1483.     {
  1484.     map textures/decals/gas.tga    
  1485.     blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1486.     alphagen constant .1
  1487.     rgbGen vertex    
  1488.     }
  1489. }
  1490.  
  1491. galaxy
  1492. {
  1493.     deformvertexes autosprite
  1494.     //spritegen parallel
  1495.       cull twosided      
  1496.     {
  1497.     map models/fx/sprite/galaxy.tga
  1498.     blendfunc gl_one gl_one    
  1499.     }
  1500. }
  1501.  
  1502. alice_halo1
  1503. {
  1504.     deformvertexes autosprite    
  1505.       cull disable
  1506.     {
  1507.     map textures/sprites/small_flare.tga
  1508.     blendfunc gl_one gl_one
  1509.     alphagen vertex
  1510.     rgbGen vertex    
  1511.     }
  1512. }
  1513.  
  1514. large_bam
  1515. {
  1516.     deformvertexes autosprite
  1517.     //spritegen parallel
  1518.       cull twosided      
  1519.     {
  1520.     map textures/decals/large_bam.tga
  1521.     blendfunc gl_one gl_one    
  1522.     }
  1523. }
  1524.  
  1525. small_bam
  1526. {
  1527.     deformvertexes autosprite
  1528.     //spritegen parallel
  1529.       cull twosided      
  1530.     {
  1531.     map textures/decals/small_bam.tga
  1532.     blendfunc gl_one gl_one
  1533.     alphagen vertex
  1534.     rgbGen vertex    
  1535.     }
  1536. }
  1537.  
  1538. red_bam
  1539. {
  1540.     deformvertexes autosprite
  1541.     //spritegen parallel
  1542.       cull twosided      
  1543.     {
  1544.     map textures/decals/red_bam.tga
  1545.     blendfunc gl_one gl_one
  1546.     alphagen vertex
  1547.     rgbGen vertex    
  1548.     }
  1549. }
  1550.  
  1551. bam_roll
  1552. {
  1553.     //deformvertexes autosprite
  1554.     spritegen parallel
  1555.       cull twosided
  1556.       surfaceparm nolightmap
  1557.     {
  1558.     map models/fx/sprite/bam.tga
  1559.     blendfunc gl_one gl_one    
  1560.     //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1561.     tcmod rotate 200
  1562.     alphagen vertex
  1563.     rgbGen vertex    
  1564.     }
  1565. }
  1566. water_drip
  1567. {
  1568.    spritegen parallel
  1569.    cull twosided
  1570.    surfaceparm nolightmap
  1571.    qer_editorimage sprites/water_drip.tga    
  1572.       {
  1573.       map sprites/water_drip.tga
  1574.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1575.       rgbGen vertex
  1576.       }
  1577. }
  1578. water_drip2
  1579. {
  1580.    spritegen parallel
  1581.    cull twosided
  1582.    surfaceparm nolightmap
  1583.    qer_editorimage sprites/water_drip2.tga    
  1584.       {
  1585.       map sprites/water_drip2.tga
  1586.       blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1587.       rgbGen vertex
  1588.       }
  1589. }
  1590.  
  1591.